@extends('app')
@include('UEditor::head')
@section('content')
<!--单选框、复选框-->
<ul class="nav nav-tabs">
    <li ><a href="{{ url('/admin/content/position')}}">信息列表</a></li>
    <li class="active"><a href="{{ url('/admin/content/position/create') }}">信息添加</a></li>
</ul>
<form id="newsForm" method="post" action="/admin/content/position">
    <div class="description2">
        <div class="form-group">
            <!--             <label for="title" class="col-sm-2 control-label">标题：</label> -->
            <!--             <div class="col-sm-10"> -->
            <input type="text" class="form-control" name="title" id="title" placeholder="广告位名称" value="">
            <!--             </div> -->
        </div>

        <div class="form-group">
<!--            <label for="title" class="col-sm-2 control-label">别名：</label>-->
<!--            <div class="col-sm-10">-->
                <input type="text" class="form-control" name="alias" id="alias" placeholder="别名" value="">
<!--            </div>-->
        </div>
        <div class="form-group">
            <label>启用：</label>
            <input type="radio" name="is_disabled" value="0" checked> 是
            <input type="radio" name="is_disabled" value="1"> 否
        </div>
        <div class="form-inline mt20">
            <div class="form-group">
                <label>排序：</label>
                <input type="text" class="form-control" name="sort" id="sort"
                       value="" placeholder="" style="width: 100px;">
            </div>
        </div>
        <!--        <input type="hidden" name="user_id" value="{{ Auth::user()->id }}">-->
        {!! csrf_field() !!}
        <input type="hidden" name="id" value="0">
        <div class="form-inline mt20">
            <div class="form-group col-xs-offset-1">
                <input type="submit"  class="btn  btn-info" value="submit" />
            </div>

            <div class="form-group col-xs-offset-1">
                <input type="reset" class="btn" value="reset" />
            </div>
        </div>
    </div>
</form>

<script type="text/javascript">
<!--
$('input').iCheck({
	checkboxClass: 'icheckbox_flat-blue',
    radioClass: 'iradio_flat-blue',
    increaseArea: '-10' // optional
});
//-->
</script>
@endsection
